package com.hzw.saas.web.storage.param;

import java.io.Serializable;
import javax.validation.constraints.NotBlank;

import org.springframework.web.multipart.MultipartFile;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author EZ09
 * @since 07/08/2021
 */
@Data
@ApiModel("RSync差异块上传参数")
public class ClientDiffBlockDataParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "同步ID", required = true)
    @NotBlank(message = "同步ID不可为空")
    private String syncId;

    @ApiModelProperty(value = "分块ID", required = true)
    @NotBlank(message = "分块ID不可为空")
    private String blockId;

    @ApiModelProperty(value = "分块文件", required = true)
    private MultipartFile blockFile;

}
